package com.hinotoyk.testsystem.mappers;

import com.hinotoyk.testsystem.entity.TOFQuestion;
import com.hinotoyk.testsystem.entity.TOFQuestionExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface TOFQuestionMapper {
    long countByExample(TOFQuestionExample example);

    int deleteByExample(TOFQuestionExample example);

    int deleteByPrimaryKey(Integer tofQuestionId);

    int insert(TOFQuestion record);

    int insertSelective(TOFQuestion record);

    List<TOFQuestion> selectByExample(TOFQuestionExample example);

    TOFQuestion selectByPrimaryKey(Integer tofQuestionId);

    int updateByExampleSelective(@Param("record") TOFQuestion record, @Param("example") TOFQuestionExample example);

    int updateByExample(@Param("record") TOFQuestion record, @Param("example") TOFQuestionExample example);

    int updateByPrimaryKeySelective(TOFQuestion record);

    int updateByPrimaryKey(TOFQuestion record);
}